package com.xw.model;

import java.util.Date;
import javax.persistence.*;

public class Withdraw {
    @Id
    private String id;

    @Column(name = "user_id")
    private String userId;

    /**
     * 真实姓名
     */
    @Column(name = "real_name")
    private String realName;

    /**
     * 提现金额
     */
    private Double money;

    /**
     * 1.支付宝 2.微信
     */
    @Column(name = "withdraw_type")
    private Integer withdrawType;

    /**
     * 账号
     */
    private String account;

    /**
     * 提现状态 0.提现中 1.提现成功
     */
    @Column(name = "withdraw_status")
    private Integer withdrawStatus;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取真实姓名
     *
     * @return real_name - 真实姓名
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 设置真实姓名
     *
     * @param realName 真实姓名
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 获取提现金额
     *
     * @return money - 提现金额
     */
    public Double getMoney() {
        return money;
    }

    /**
     * 设置提现金额
     *
     * @param money 提现金额
     */
    public void setMoney(Double money) {
        this.money = money;
    }

    /**
     * 获取1.支付宝 2.微信
     *
     * @return withdraw_type - 1.支付宝 2.微信
     */
    public Integer getWithdrawType() {
        return withdrawType;
    }

    /**
     * 设置1.支付宝 2.微信
     *
     * @param withdrawType 1.支付宝 2.微信
     */
    public void setWithdrawType(Integer withdrawType) {
        this.withdrawType = withdrawType;
    }

    /**
     * 获取账号
     *
     * @return account - 账号
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置账号
     *
     * @param account 账号
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取提现状态 0.提现中 1.提现成功
     *
     * @return withdraw_status - 提现状态 0.提现中 1.提现成功
     */
    public Integer getWithdrawStatus() {
        return withdrawStatus;
    }

    /**
     * 设置提现状态 0.提现中 1.提现成功
     *
     * @param withdrawStatus 提现状态 0.提现中 1.提现成功
     */
    public void setWithdrawStatus(Integer withdrawStatus) {
        this.withdrawStatus = withdrawStatus;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}